<%@ include file="../common/top.jsp"%>

<div id="Catalog">
    <form action="editAccount" method="post">

    <h3>User Information</h3>

    <table>
        <tr>
            <td>User ID:</td>
            <td><input type="text" name="username" id="username" disabled value="${sessionScope.loginAccount.username}" readonly></td>
        </tr>
        <tr>
            <td>New password:</td>
            <td><input type="password" name="password" id="password"></td>
        </tr>
        <tr>
            <td>Repeat password:</td>
            <td><input type="password" name="repeatedPassword" id="repeatedPassword"/>
                <font color="red"><div id="passwordCheck"></div></font></td>
        </tr>
    </table>
    <%@ include file="includeAccountFields.jsp"%>

        <input type="submit" name="editAccount" value="Save Account Information">

</form>
    <a href="listOrder">My Orders</a>
</div>
<script type="text/javascript" src="js/accountForm.js"></script>
<%@ include file="../common/bottom.jsp"%>
